package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by song on 2017/1110.
 */
@Controller
public class IndexController {
    @GetMapping("/front/*")
    public String html() {
        return "index";
    }

    @GetMapping("/login")
    public String login() {
        return "index";
    }

    @GetMapping("/error")
    public String error() {
        return "index";
    }


}
